<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <form>
      <div class="row">
        <div class="col-lg-12">

          <!-- <section class="panel">
            <div class="panel-body">
              <ul class="lfimg">
                <li>
                  <a onclick="lfimg(0)">南京-18栋-1楼工位图</a>
                </li>
                <li>
                  <a onclick="lfimg(1)">南京-18栋-2楼工位图</a>
                </li>
                <li>
                  <a onclick="lfimg(2)">南京-18栋-3楼工位图</a>
                </li>
                <li>
                  <a onclick="lfimg(3)">南京-18栋-4楼工位图</a>
                </li>
                <li>
                  <a onclick="lfimg(4)">南京-9栋-1楼工位图</a>
                </li>
              </ul>
            </div>
          </section> -->

          <section class="panel" style="display: none;" id="lfimg">
            <header class="panel-heading">
              工位图
            </header>
            <div class="panel-body">
              <!-- <ul class="lfimg">
                  <li>
                    <a onclick="lfimg(0)">南京-18栋-1楼工位图</a>
                  </li>
                  <li>
                    <a onclick="lfimg(1)">南京-18栋-2楼工位图</a>
                  </li>
                  <li>
                    <a onclick="lfimg(2)">南京-18栋-3楼工位图</a>
                  </li>
                  <li>
                    <a onclick="lfimg(3)">南京-18栋-4楼工位图</a>
                  </li>
                  <li>
                    <a onclick="lfimg(4)">南京-9栋-1楼工位图</a>
                  </li>
                </ul> -->
              <img src="img/18-1.jpg" class="lfimges" id="imgbox">
            </div>
          </section>

          <section class="panel">
            <header class="panel-heading">
              座位信息
            </header>
            <div class="panel-body">
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">所属公司</label>
                <div class="col-sm-10">
                  <select name="companyCode" id="companys" certus-required class="form-control">
                    <option value="">请选择</option>
                    <option ng-repeat="d in comp" value="{{d.companyId}}">{{d.company}}</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">座位类目</label>
                <div class="col-sm-10">
                  <select class="form-control" onchange="change()" certus-required id="cateId" name="cateId">
                    <option>请选择</option>
                    <option ng-repeat="x in data" value="{{x.cateId}}">{{x.seatCate}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">座位类别</label>
                <div class="col-sm-10">
                  <select class="form-control" id="styleId" certus-required name="styleId">
                    <option>请选择</option>
                    <option ng-repeat="x in style" value="{{x.styleId}}">{{x.seatStyle}}</option>
                  </select>
                </div>
              </div>
              <!--<div class="form-group customerForm">-->
              <!--<label class="col-sm-2 control-label">来源方式</label>-->
              <!--<div class="col-sm-10">-->
              <!--<select class="form-control" name="assetSource" certus-required>-->
              <!--<option>请选择</option>-->
              <!--<option value="购买">购买</option>-->
              <!--<option value="继承">继承</option>-->
              <!--<option value="其他">其他</option>-->
              <!--</select>-->
              <!--</div>-->
              <!--</div>-->

              <!--<div class="form-group customerForm">-->
              <!--<label class="col-sm-2 control-label">购买金额</label>-->
              <!--<div class="col-sm-10">-->
              <!--<input type="text" class="form-control" certus-required name="purchasePrice" value="" />-->
              <!--</div>-->
              <!--</div>-->

              <!--<div class="form-group customerForm">-->
              <!--<label class="col-sm-2 control-label">购买时间</label>-->
              <!--<div class="col-sm-10">-->
              <!--<input type="text" class="form-control" certus-required name="purchaseTime" id="purchaseTime" value="" />-->
              <!--</div>-->
              <!--</div>-->

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">放置城市</label>
                <div class="col-sm-10">
                  <select class="form-control" id="cityLocation" onchange="getImg()" certus-required name="cityLocation">
                    <option value="NJ">南京</option>
                    <option value="BJ">北京</option>
                    <option value="GD">广东</option>
                    <option value="SH">上海</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">大楼名称</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" certus-required name="buildingName" value=""
                         maxlength="50" placeholder="例如：玄武大道22-18栋/广晟国际大厦" />
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">大楼栋数</label>
                <div class="col-sm-10">
                  <input type="text" id="build" class="form-control" certus-required name="buildingLocation" maxlength="2"
                    value="" placeholder="例如：09" onkeyup="value=value.replace(/[\W]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">放置楼层</label>
                <div class="col-sm-10">
                  <input type="text" id="fool" class="form-control" certus-required name="floorLocation" maxlength="2"
                    value="" placeholder="例如：01" onkeyup="value=value.replace(/[\W]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">放置房间</label>
                <div class="col-sm-10">
                  <input type="text" class="form-control" certus-required name="roomLocation" value="" placeholder="例如：小会议室" />
                </div>
              </div>
              <!--<div class="form-group customerForm">-->
              <!--<label class="col-sm-2 control-label">资产描述</label>-->
              <!--<div class="col-sm-10">-->
              <!--<textarea class="form-control" name="assetProfile" maxlength="500" certus-required></textarea>-->
              <!--</div>-->
              <!--</div>-->
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">备注说明</label>
                <div class="col-sm-10">
                  <textarea class="form-control" name="comments" maxlength="120"></textarea>
                </div>
              </div>
            </div>
          </section>
          <section class="panel">
            <div class="panel-body">
              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                <a href="javascript:void(0);" class="button-next  btn btn-success submit">确认提交</a>
              </p>
            </div>
          </section>
        </div>
      </div>
    </form>
  </section>
</section>
<script type="text/javascript">
  $("#build").bind("input propertychange", function () {
    getImg();
  });
  $("#fool").bind("input propertychange", function () {
    getImg();
  });
</script>
<script src="js/seat/seats.js"></script>